/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package client;

/**
 *
 * @author BeTo
 */
public class Main {

    static String VLCroute, port;

    public static void init() {
        VLCroute = "/Applications/VLC.app/Contents/MacOS/VLC";
        port = "12340";
    }

    public static void main(String[] args) {
        /*In this example code we use defined parameters that works locally
        in an specific computer. With this we define the parameters we will
        need to execute in our application.*/
        init();
        String osName = System.getProperty("os.name");
        videoclientp2p client = new videoclientp2p(VLCroute, port);
        client.viewvideo();
    }
}
